﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manager/Manager.master" AutoEventWireup="true" CodeFile="ReportCandidate.aspx.cs" Inherits="Manager_ReportCandidate" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
       
<asp:Content ID="Content1" ContentPlaceHolderID="PageTitle" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageHeader" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="BodyContent" Runat="Server">
    <div class="header">
        <span><span class="ico  gray spreadsheet"></span>Report Manager </span>
    </div>
    <!-- End header -->
    <div class=" clear">
    </div>
        <div class="content">
        <p>
            <asp:Calendar ID="cldDatetime" runat="server" BackColor="#FFFFCC" 
                BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" 
                Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" 
                onselectionchanged="cldDatetime_SelectionChanged" ShowGridLines="True" 
                Visible="False" Width="220px">
                <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                <OtherMonthDayStyle ForeColor="#CC9966" />
                <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                <SelectorStyle BackColor="#FFCC66" />
                <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" 
                    ForeColor="#FFFFCC" />
                <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
            </asp:Calendar>
        </p>
            <p>
            <asp:Label ID="lblMobile" runat="server" Text="Test Date : " Width="70px"></asp:Label>
            <asp:TextBox ID="txtCandidate" runat="server" Width="250px"></asp:TextBox>
            <asp:LinkButton ID="lbtDate" class="uibutton normal but_login"  runat="server" 
                    onclick="lbtDate_Click">Choose Date</asp:LinkButton>
        </p>
        <div style="padding: 2px 0px;">
            <asp:Button ID="btnUpdate" class="uibutton normal but_login"  runat="server" 
                Text="Fill Candidate" onclick="btnUpdate_Click" />
                </div>
        </div>
            <rsweb:ReportViewer ID="ReportViewer1" runat="server" 
    Font-Names="Verdana" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
    WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="885px">
                <LocalReport ReportPath="rpCandidate.rdlc">
                    <DataSources>
                        <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" Name="DataSet1" />
                    </DataSources>
                </LocalReport>
            </rsweb:ReportViewer>
        
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
    OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
    TypeName="dtsCandidateTableAdapters.DisplayCandidateTableAdapter">
    <SelectParameters>
        <asp:ControlParameter ControlID="txtCandidate" Name="date" PropertyName="Text" 
            Type="DateTime" />
    </SelectParameters>
</asp:ObjectDataSource>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
        
</asp:Content>

